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: IDOC_INPUT_DOCMAS FM Documentation and Code

satya-dev
Participant
0 Kudos

Hi Experts,

I have a requirement, where i have to call this FM IDOC_INPUT_DOCMAS for attaching document in SAP.

I googled but couldn't find any doc or code.

Please provide some documentation and code, how to use this FM.

Thanks.

2 REPLIES 2

ArcherZhang
Employee
Employee
0 Kudos

Hi Satya,

In general, this FM was configured as IDoc inbound process code(WE42).

If you want to call it in your z program, I think you need to consider these TABLE parameters, 'idoc_contrl' and 'idoc_data' which is based on basic type 'DOCMAS[xx]'.

BRs,

Archer

satya-dev
Participant
0 Kudos

Thanks Archer Zhang,

This IADoc 'IDOC_INPUT_DOCMAS' is calling internally 'CVAPI_DOC_CREATE' for attaching document.

So where it is attaching the documents, any Tcode or table.