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

Enhance bapi_0035_create

Former Member
0 Likes
731

I need to enhance bapi_0035_create, becasue there are additional fields in GMGR table. After enhancing I need to use the BAPI in LSMW.

What is the best approach for this?

Looks like I this bapi_0035_create does not have enhancement option!!

Please help.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
618

Hi.

There is classic BAdI named BAPI_0035 which can help you.

Look how lif_exit reference variable is used in code of function module BAPI_0035_CREATE.


DATA: l_ref_grant_bapi TYPE REF TO cl_gm_grant_bapi,
        lif_exit    TYPE REF TO if_ex_bapi_0035.

3 REPLIES 3
Read only

Former Member
0 Likes
619

Hi.

There is classic BAdI named BAPI_0035 which can help you.

Look how lif_exit reference variable is used in code of function module BAPI_0035_CREATE.


DATA: l_ref_grant_bapi TYPE REF TO cl_gm_grant_bapi,
        lif_exit    TYPE REF TO if_ex_bapi_0035.

Read only

0 Likes
618

That helped a lot, I was able to implement it.

Read only

0 Likes
618

Hi,

I am trying to enhance BAPI_0035_CREATE too. please let me know how you used the below exit?

BAPI is not creating a grant when i push the extension data.

Please let me know what code you put in the exit.

Thanks,

Soumya