‎2007 Jun 21 6:20 AM
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.
‎2007 Jun 21 8:53 AM
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.
‎2007 Jun 21 8:53 AM
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.
‎2007 Jun 21 9:53 AM
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