Skip to Content

How to read multi line importing parameter of object type SOFM in a BO method

Hello,

I have a multi line importing parameter of object type SOFM. I want to read rejection comments from workflow container and send it in an outlook email.

Please help me how can we declare the type and how to read the parameter in BO method using macro statement.

Thanks,

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    Oct 06, 2017 at 10:54 AM

    Solved it using below macro.

    DATA: int_sofm TYPE TABLE OF swc_object WITH HEADER LINE,

    wf_docid TYPE sofolenti1-doc_id.

    swc_get_table container 'Attach_Objects' int_sofm.

    LOOP AT int_sofm.

    swc_get_object_key int_sofm wf_docid.

    EXIT.

    ENDLOOP

    Add comment
    10|10000 characters needed characters exceeded

  • Oct 05, 2017 at 06:33 AM

    All workflow macros are described here: SAP Library: Macro Instructions for Processing a Container

    Add comment
    10|10000 characters needed characters exceeded