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

copying bapi_po_create2

Former Member
0 Likes
546

hi there

i want to remove some code from std bapi.

want to remove this code..

******

IF lf_commit_requested NE ' '.

COMMIT WORK.

ENDIF.

***************

we are using JCo as middle ware. this code is giving error.

it's urget..plz respond

i need to create a new bapi with out that code..let me know the easy way.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
479

Hi,

Bapi is nothing but a remote enabled FM.

Just go to se37 copy the FM into your name and Modify it.

Then Register this Fm as method in the BOR.

You can find steps to register it in BOR (SWO1 tcode ) in sdn forums or blogs.

I have seen them many times. Please search.

Award points if useful,

Aleem.

2 REPLIES 2
Read only

Former Member
0 Likes
480

Hi,

Bapi is nothing but a remote enabled FM.

Just go to se37 copy the FM into your name and Modify it.

Then Register this Fm as method in the BOR.

You can find steps to register it in BOR (SWO1 tcode ) in sdn forums or blogs.

I have seen them many times. Please search.

Award points if useful,

Aleem.

Read only

varma_narayana
Active Contributor
0 Likes
479

Hi ,

Copy the Function module to a Z function group. You may need to copy the entire std function group as there may be some global data or subroutines that are used by the FM BAPI_PO_CREATE2.

Modified the code as needed.

Set the attribute - processing type to "Remote enabled" for the FM

release the FM.

Now you can call this FM directly fron jco without creating a BAPI.

Regards,

Varma