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

Call ABAP program from a Feature - PE03

0 Likes
1,720

We are in process of upgrading from 4.6 C to ECC 6.0. One feature (CSTV1) will not activate because there is a limit on generated programs to under 10,000 ABAP statements. SAP told me to call an ABAP program from the feature to reduce the number of ABAP statements in the generated program. Has anyone created a feature that called an ABAP program? I searched SAP help and I can't find any information about calling a ABAP program.

Thanks in advance,

Mark Ashabraner

1 ACCEPTED SOLUTION
Read only

suresh_datti
Active Contributor
0 Likes
963

Hi Mark,

You can try it this way.. Get the name of the ABAP Program generated by the feature from its attributes. it will be something like '1PAPA/FEAT020Z0106'...May be you can change this program ie put a substantial chunk of this code in a subroutine in another program & call that with a PERFORM from this Program..

~Suresh

We are in process of upgrading from 4.6 C to ECC 6.0. One feature (CSTV1) will not activate because there is a limit on generated programs to under 10,000 ABAP statements. SAP told me to call an ABAP program from the feature to reduce the number of ABAP statements in the generated program. Has anyone created a feature that called an ABAP program? I searched SAP help and I can't find any information about calling a ABAP program.

Thanks in advance,

Mark Ashabraner

3 REPLIES 3
Read only

Former Member
0 Likes
963

Use SUBMIT command to call an ABAP from an ABAP program.

Best regards

Tamá

Read only

suresh_datti
Active Contributor
0 Likes
964

Hi Mark,

You can try it this way.. Get the name of the ABAP Program generated by the feature from its attributes. it will be something like '1PAPA/FEAT020Z0106'...May be you can change this program ie put a substantial chunk of this code in a subroutine in another program & call that with a PERFORM from this Program..

~Suresh

Read only

Former Member
0 Likes
963

Hi,

See the below link, you may get some solution for the features...

http://www.sap-img.com/hr008.htm

Regards

Sudheer