02-14-2007 8:06 AM
Hi ,
How to create a class and how to use in our program ?
Suppose I have to take a customer number as input and according to that i have to display his details ...
for that how create a class and where to create it ?
what is the difference between class and bapi and rfc ?
where excatly we use BAPI ?
what is the use of transaction BAPI and SW01 etc....
Please reply me
and Give me material regarding this....
02-14-2007 8:22 AM
Hi
For creating the classes, look at the below links
http://help.sap.com/saphelp_nw04/helpdata/en/b3/f4b1406fecef0fe10000000a1550b0/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/06/f23c3d638d11d4966d00a0c94260a5/content.htm
<b>difference between BAPI and RFC</b>
BAPI is used only when it is available for the particular transaction like Delivery Sales order. but BDC can be used for any
transaction which have screen and fields.
BAPI is directly updated the database instead BDC run through the screen flow.
So BAPI can't handle all the flow logic checking and enhancement put by programmer to faciliate the user requirement.