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

IDOC: IDOC_INPUT_DOCMAS FM Documentation and Code

satya-dev
Participant
0 Likes
1,197

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
Read only

ArcherZhang
Product and Topic Expert
Product and Topic Expert
0 Likes
888

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

Read only

satya-dev
Participant
0 Likes
888

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.