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

PROBLEM IN BAPI- jco

Former Member
0 Likes
355

hi there

I used bapi to create po (zbapi_po_create1.. customised) in jco.

my given number i can see in the table. but i can't retrieve the data with that number in se16. but i can see the same number in table.

what could be the problem? (any conversion problems?)

2 REPLIES 2
Read only

Former Member
0 Likes
328

Hi,

nothing was done on the SAP side to call BAPI via Jco. Everything was done on the java side.

For creating PO from your JAVA based system, you may need to:

Call the BAPI in your JAVA system. Before that you have to create connection objects and establish the link with R/3. For that you have to import the respective SAP LOGON classes in java. After establishing the connection you can assign values to the BAPI internal tables and call the bapi with the help of the respective object.

For sending PO from SAP to java you have to use ALE/IDoc method

Please refer to following links.

/people/tarun.telang2/blog/2005/10/01/debugging-a-rfc-call-using-jco-api

http://www.persistentsys.com/presentation/Java_SAP_Integration.pdf

http://help.sap.com/saphelp_nw04/helpdata/en/35/42e13d82fcfb34e10000000a114084/frameset.htm

<b>Reward points</b>

Regards

Read only

0 Likes
328

hi skk,

thanks.

but i can able to create po. the thing is am not retrieving the same one from the table. but i can see it in the table.

i think the po number is stored in different format??

any help?