11-19-2007 12:02 PM
Dear all,
Please tell me are there any bapi or FM to create travel request.
Please help me.
Thanks and Regards,
Chandra
11-19-2007 12:05 PM
Hi,
Check this FM this will help you i think,
<b>SWX_TRAVELREQ_CREATE</b>
\[removed by moderator\]
Regards,
Vimal
Edited by: Jan Stallkamp on Aug 6, 2008 2:26 PM
11-19-2007 12:09 PM
Dear Vimal,
Thank you very much,
I think the above function module for booking scenario.
Please help me.
Thanks and Regards,
Chandra M
11-19-2007 12:10 PM
I think you need to use BDC.
This BAPI is there - BAPI_TRIP_CREATE_FROM_DATA but it uses PR01.
Check following to find BAPI for any tcode -
1. Find out the package of the transaction.
Start Va01 go to system --> status.
Double click on transaction
Package is VA
Open this package in SE80
Open business engineering-->Business object types
Find the BO which sounds the most appropriate
I would suggest BUS2032 Sales Order
Double click.
Open methods.
Find the released method with from data or something similar in the name
, Createfromdat2
Position the cursor in it and click the program button
Scroll down to find the bapi used in this method
With this way you can also find out programs and FM's
2. Start va01 go to system-->status
Double click transaction VA01
Double click on package
Read the application component. (this is SD-SLS Sales)
Then open the transaction BAPI
Sales and distribution>Sales>sales order
createfromdat2
Regards,
Amit
\[removed by moderator\]
Edited by: Jan Stallkamp on Aug 6, 2008 2:26 PM
11-19-2007 12:14 PM
Dear Amit,
Thanku very much,
I have tried with bdc(included in the RFC), but the problem is when I am trying to call from frontend(web dynpro appl) it is giving problem.
Thanks and Regards,
Chandra