‎2008 Apr 25 6:35 AM
Hi Experts,
I Have been assigned a task that is based on the transaction
IW31 AND IW32.ie,I have to capture the newly created service order from sap r/3.(tHEY TOLD LIKE I CAN FETCH FROM AUFK TABLE.
I really dnt know how to start this coding.
After this step,I neeed to pass this result to Iw3m transaction .
After this i need to captures some filds o/p of this tcode and passit to telnet.
Please help me.
Really dnt know how to strt..
Please friends, Experts, I m really without any help...
Kindly guide me and provide me some solutions to solve this problem.
Will reward points for the best solution.
Sincerely
Jaya
‎2008 Apr 25 6:58 AM
Hi jaya,
1.Fetch the aufnr from aufk table based on date(becaz u need newly created service order.).
2.According to your statement ,you need to fetch the service order and Pass it to Lw3m tcode.
This is done by Submit or recording.
3.While executing the lw3m tcode ,you will get the Information regarding the service order.
4.Take all the detials from the out put of lw3m into file and pass it to Telnet(i mean it is legasy system).
5.Just downloading the output into text file and the required.
Regards,
Shiva.
‎2008 Apr 25 6:47 AM
Jaya,
First start with getting the recently created service orders from AUFK table.There is a field called AUART(Order Type) where SM01 indicates Service Orders.Fetch all the records related to SM01 into an internal table based on the company code and date.Then do a BDC on LW3M and populate the data using internal table.
K.Kiran.
‎2008 Apr 25 7:13 AM
Hi Kiran,
Thanks a lot.
I actually I need to record creation as well as changes (iw31,iw32).
So as u tols First i need to create an internal table base on aufk table?
rIGHT kIRAN?
Please Help me Kiran..
Regards
Jaya
‎2008 Apr 25 6:58 AM
Hi jaya,
1.Fetch the aufnr from aufk table based on date(becaz u need newly created service order.).
2.According to your statement ,you need to fetch the service order and Pass it to Lw3m tcode.
This is done by Submit or recording.
3.While executing the lw3m tcode ,you will get the Information regarding the service order.
4.Take all the detials from the out put of lw3m into file and pass it to Telnet(i mean it is legasy system).
5.Just downloading the output into text file and the required.
Regards,
Shiva.
‎2008 Apr 25 7:02 AM
Hi Shiva ,
Thnks a ton times.
So firstly I need to create an internal table for aufkk and include filds like data time.
Then whats the next step Siva..:(
I really dnt know shiva what to do?
Sincerely
Jaya
‎2008 Apr 25 7:03 AM
Hi ShiVA,
I need not only newly created service order ., I need changedd service order.
Please tell me how to do?
Regards
Jaya