Skip to Content

IDOC: IDOC_INPUT_DOCMAS FM Documentation and Code

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Jun 14, 2017 at 06: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

    Add comment
    10|10000 characters needed characters exceeded

  • Jun 16, 2017 at 07: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.

    Add comment
    10|10000 characters needed characters exceeded