cancel
Showing results for 
Search instead for 
Did you mean: 

bapi_po_change

Former Member
0 Kudos

Hello.

I have a question about "bapi".

Now in my project,we enter the PO data from local file.

and we will use the "bapi_poec_create",when we create the PO.

and questions are as follows.

<b>1.Can I change the po data by using bapi?</b>(Is there a "bapi_poec_change")

<b>2.Can I delete the po data by using bapi?</b>

(Is there a "bapi_poec_delete")

If someone knows about it,please tell me.

Regards

Ogiwara

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Ogiwara,

Hi. There are two listing's of BAPI's available.

1) BAPI

Transaction BAPI if you have access to the backend. This is a bit flawed as it only lists Function modules that have been defined as BAPI's. I couldn't find your "bapi_poec_create" listed let aloan any others.

2) WebService browser

http://<host>:<port>/sap/bc/bsp/sap/webservicebrowser/search.html

Where <host> = Your SAP WebAS Host name; and <Port> is the active port - In the backend call transaction SMICM if you aren't sure.

This webservicebrowser will list all function modules with the 'RFC' indicator set e.g. that you can call externally. It also lists the WSDL file as it is intended to be used via a SOAP call.

unfortunately both options that you are looking for don't exist - the cange and delete functionality. So I guess it will need to be a bespoke development.

Just as a by the by in R/3 we don't ussally delete PO's once they have been created, but rather delete the line items. That leaves a PO with no line items which in effect is a deleted PO. If that is the way forward then you only need one bespoke process i.e. CHANGE as this could handle change & delete.

Regards

Rob

Former Member
0 Kudos

Dear Rob Honeyborne

Thank you for your reply.

1) BAPI

Please excute the SE37 and enter the function module "BAPI_POEC_CREATE".then you can see it.

2) WebService browser

After All,do I need to create the New function module of "PO_CHANGE"?

Isn't there any function module of "PO_CHANGE" that has been already created?

Regards

Ogiwara

Former Member
0 Kudos

Hi,

Try using the BADI "BBP_DOC_CHANGE_BADI"(Method BBP_PO_CHANGE) to change the created PO.

HTH.

BR,

Disha.

Pls reward points for helpful answers.

Former Member
0 Kudos

Thanks.

I'm sorry that information is not enough.

We need to do I/F by using RFC fuction in JCO.

so can we use that BADI as RFC function module?

Regards

ogiwara

Former Member
0 Kudos

Hi,

Sorry I misunderstood your query..The BADI cannot be used for your requirement.

BR,

Disha.