‎2006 Sep 12 6:00 AM
hi frnds,
i want to create vendor by providing the data to func module. for that i am using VENDOR_INSERT function module. Though it does not give any error while creation bt throws the Runtime error "DYNPRO_NOT_FOUND" when i try to display the vendor thru XK03.
Could u please guide me thru this.
Regards,
‎2006 Sep 12 6:13 AM
u cannt use VENDOR_INSERT ? check BAPI BAPI_VENDOR_CREATE or std.program RFBIKR00
Regards
Prabhu
‎2006 Sep 12 6:16 AM
hi,
the same problem occured to me also.
i used BAPI_VENDOR_CREATE . it worked fine.
so use it. iw will wrk.
rgrds
anver
if hlped on 4gt to mart points
‎2006 Sep 12 6:17 AM
it is a direct database update without any validation which could be risky. Instead I would suggest u use BAPI to do this job which will ensure data integrity.
Create: BAPI_VENDOR_CREATE
‎2006 Sep 12 7:10 AM
hi,
i want to accept the values from the web dynpro application and use them for the vendor creation. how can i use BAPI_VENDOR_CREATE for the same, i.e i want to use that func module as rfc.
or do i need to use any other func module.
Regards,
‎2006 Sep 12 7:17 AM
I guess all BAPIS must be RFC enabled. You must be able to call the BAPI mentioned above.
Cheers
VJ
‎2006 Sep 12 7:19 AM
Hi,
All Bapi's are RFC enabled.
The only problem is that most BAPI's would require a commit to be done using another BAPI 'BAPI_TRANSACTION_COMMIT'.
That should do it.
Regards
Nishant