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

Implicit enhancement implementation problem with BAPI

Former Member
0 Likes
1,252

Hai,

I am doing modifications in BAPI_OUTB_DELIVERY_CREATE_SLS function module by implicit enhancements, In the top i am writing code in one implicit enhancement, and i am implementing form routines at the bottom implicit enhancements, but the perform statement in top implicit enhancement is not calling the form statement at the bottom enhancement, it is giving error like enhancement-section should be concluded with end enhancement-section, i am not using explicit enhancements. can any one clarify this(can we use subroutinees in implicit enhancements. Perform in one and form declaration in other implicit enhancements) .

Hope i can get th e answer soon.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
843

Hi,

U cant write perform statement in one implementation & Form statement in another implementation.

U have created 2 separate implementation. so its not posiable idenitfy.

U can do one thing.

create new include program, write form routine in that include. and call perform statement from include program.

U problem get solved.

By

Gupta......

4 REPLIES 4
Read only

Former Member
0 Likes
843

Hi,

What you have created is enhancement section. with enh section, this section will be processed and it will ignore the standard codes. If you do not want to ignore processing of standard code use enhancement spot.

Cheers.

...Reward if useful.

Read only

Former Member
0 Likes
843

Hi,

Let us know where the subroutine FORM definition is available. Is it inside the function module or in the include program of the subroutines.

Thanks

Indira

Read only

0 Likes
843

Hi,

Perform statement is in one enhancement and form declaration is in other enhancement in the same function module, this form declaration is after the statement Endfunction in the same function module.

Read only

Former Member
0 Likes
844

Hi,

U cant write perform statement in one implementation & Form statement in another implementation.

U have created 2 separate implementation. so its not posiable idenitfy.

U can do one thing.

create new include program, write form routine in that include. and call perform statement from include program.

U problem get solved.

By

Gupta......