Skip to Content
avatar image
Former Member

Run standard report in a Function Module

Hi all,

There is a standard report program which fetches the value of the field SALES CODE. I need this value in a custom function module. How can I get this? Do i need to use SUBMIT statement in the standard program. If so does it require access key.?

Thanks,

Maansi

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

3 Answers

  • Jun 24, 2010 at 12:34 PM

    Do i need to use SUBMIT statement in the standard program. If so does it require access key.?

    No need to do this 😊

    There is a standard report program which fetches the value of the field SALES CODE.

    Please specify more details about this.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Keshav,

      I would like know how to get the output of a standard report program in a custom Funftion Module.

      There is a report /CCO/CS_GET_SALES_CODES which fetches the SALES CODE. The custom function module needs the value of this SALES CODE. I would like to know how this can be done.

      Maansi

  • Jun 25, 2010 at 05:00 AM

    Check the keyword documentation of SUBMIT.Still if you don't get the soluton,copy the relevant parts of standard program into ur functin module

    Add comment
    10|10000 characters needed characters exceeded

  • Jun 25, 2010 at 03:32 PM

    Hello Maansi,

    you just to write SUBMIT XXX in the source code of your fm. Since it is a custom function module by you, no access key is needed.

    Best Regards,

    Jerry

    Add comment
    10|10000 characters needed characters exceeded