Application Development 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: 

submit program for function pool

Former Member
0 Kudos

Dear Experts,

i am using submit program for a standard report

submit SAPLRHPA_REPORTING

with APPSELECT_HISTO eq 'X'

and return.

it's going to dump how to use function pool programs in submit statements.

You attempted to start the ABAP/4 program "SAPLRHPA_REPORTING" with SUBMIT, but

attributes specify this program as type "F" instead of "1". You can

only start programs of type 1 with SUBMIT.

Thanks and Regards,

Thirukumaran. R

1 ACCEPTED SOLUTION

joginder_singh
Active Participant
0 Kudos

Hi

As per my knoweldge i think you cant submit the fuction pool using by submit.

Alternate way is call the function module which is within the function pool .

Or if you want to execute a particular routine within a function pool you can use as below

PERFORM Routine_name(saplrhpa_reporting)

USING parameters.

Hope this answer helps you

Cheers.

J.

5 REPLIES 5

Former Member
0 Kudos

Hello,

Type 1 -> Executable programs, You can only submit a excutable program using the same statement.

Thanks,

Jayant

0 Kudos

is there any other possible way to do the same operations as submit prgm. works

Thanks and Regards,

Thiru. R

0 Kudos

Hi

To the best of my knowledge you can create a transaction and use CALL TRANSACTION

Best regards

Ramc

0 Kudos

You can call the Function module in the Function group you are trying to submit using 'Call <FM Name>' as we call Function modules.

Thanks,

Jayant

joginder_singh
Active Participant
0 Kudos

Hi

As per my knoweldge i think you cant submit the fuction pool using by submit.

Alternate way is call the function module which is within the function pool .

Or if you want to execute a particular routine within a function pool you can use as below

PERFORM Routine_name(saplrhpa_reporting)

USING parameters.

Hope this answer helps you

Cheers.

J.