06-14-2017 7:07 AM
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.
06-14-2017 7:29 AM
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
06-16-2017 8:21 AM
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.