I am new to BAPIs but have worked quite a bit with ABAP programming. Now that I'm trying BAPI thru JCO I find that...
By submitting your personal information, you agree that TechTarget and its partners may contact you regarding relevant content, products and special offers.
it works significantly different from testing in SE37. For example, if I use bapi_quote_create_fromdata, the partner function which we usually use is SP but when calling from JCO only the internal AG works. I can understand why a BDC transaction may work differently online as in batch, but this does not explain why BAPIs work differently internally and externally.
This has nothing to do with JCo, but applies to all external clients. SE37 calls the GUI conversion exits, whereas the BAPIs themselves do not (see my article in www.sappro.com). My company offers a component (ARAsoft Java BAPI ObjectFactory) that helps with the necessary conversions (send email for trial version). Otherwise you have to study the conversion BAPIs and use them in your client code.
Dig Deeper on SAP ABAP
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.