Application Development 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: 

BDC on transaction CV02N handling the Custom Control

Former Member
0 Kudos

Hi Guru's,

I am developing a BDC program for the transaction CV02N. This transaction is for Changing the document link. Here I need to delete the existing Document links and create the new ones.

I am facing the issue for Deleting the document links. The custom control has the links for each document. I need to select each document link in the custom control then delete it. But the BDC recording is not showing this selection of document links in the custom control, If I write the program using the recording, it is stopping me at the time of pressing the delete button, and giving the message make the selection.

I dont know how to handle this custom control's in BDC program. Please help me.

Thanks

Ravi.

1 ACCEPTED SOLUTION

raymond_giuseppi
Active Contributor
0 Kudos

Use the [search tool for CV02NBDC|http://www.sdn.sap.com/irj/scn/advancedsearch?query=cv02nBDC] and then [for CV02NBAPI|http://www.sdn.sap.com/irj/scn/advancedsearch?query=cv02nBAPI] (look for BAPI_DOCUMENT*)

Basically, transaction ending with "N" are Enjoy, and not fully suitable for BDC, so look for BAPI, or sometimes for older version of the transaction, without the trailing "N" (til they become obsolete)

Regards,

Raymond

3 REPLIES 3

Former Member
0 Kudos

CV02N is likely an EnjoySAP transaction and therefore unsuitable for batch input becasue the custom control requires the GUI to be present.

You can search for notes about using batch input for this transaction, but you will probably either find that SAP recommends a specific BAPI or use a different transaction for batch input (probably CV02).

Rob

Former Member
0 Kudos

Hi,

You can use the BAPI -

BAPI_DOCUMENT_CHANGE.

Rgds,

Pankaj

raymond_giuseppi
Active Contributor
0 Kudos

Use the [search tool for CV02NBDC|http://www.sdn.sap.com/irj/scn/advancedsearch?query=cv02nBDC] and then [for CV02NBAPI|http://www.sdn.sap.com/irj/scn/advancedsearch?query=cv02nBAPI] (look for BAPI_DOCUMENT*)

Basically, transaction ending with "N" are Enjoy, and not fully suitable for BDC, so look for BAPI, or sometimes for older version of the transaction, without the trailing "N" (til they become obsolete)

Regards,

Raymond