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

Run standard report in a Function Module

Former Member
0 Likes
663

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

4 REPLIES 4
Read only

kesavadas_thekkillath
Active Contributor
0 Likes
571

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.

Read only

0 Likes
571

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

Read only

vattekrishna
Participant
0 Likes
571

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

Read only

JerryWang
Product and Topic Expert
Product and Topic Expert
0 Likes
571

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