‎2013 Aug 07 5:44 AM
Dear Abappers,
I am defining background job for Preventive Maintenance Plan in PM module using T Code SM36. When it comes to mention ABAP Program, I am using F1>>>Technical Information of plan to search for program SAPLIWP3 When Program is defined following error occurs:
Please analyze the error from the view point of ABAP & Provide Solution.
Regards,
waqas
‎2013 Aug 17 12:19 PM
s/m Waqas,
Why would you schedule a screen
Can you post what you want to achieve. If you are trying to post data the method is not this...
Regards
‎2013 Aug 07 6:20 AM
IWP3 is a functional groupand this function group is used for transaction processing.
From abap point of view these are foreground screens where user command is expected and hence this particular program will not work in background on its own. You either need to create a BDC or a BAPI for transactions like IP01/IP02 and then schedule that custom program in background.
Only executable programs like reports can be defined as an backgroun job.
Hope this helps.
‎2013 Aug 07 6:31 AM
Hi,
Function pool cannot be scheduled as background job so its not allowed.
Cheers,
Arindam
‎2013 Aug 07 6:44 AM
Hi,
Type F is a function group and you cannot run a background job on this, however you can call function module in background. Please check the following screenshots:
Regards
Purnand
‎2013 Aug 07 7:05 AM
Hi,
Background job you can use only Executable Program, So create an executable program with same parameter of your IWP3 that you are going to execute in background. call IWP3 program or it's transaction in your report program.
Regards
Amit
‎2013 Aug 17 12:19 PM
s/m Waqas,
Why would you schedule a screen
Can you post what you want to achieve. If you are trying to post data the method is not this...
Regards
‎2013 Aug 17 12:23 PM
WS yakub,
Actually I was trying to run background job to schedule my Plan not screen, I found program for that :
RISTRA20
Thanks for reviewing my thread
Regards,
waqas
‎2013 Aug 17 1:59 PM
hi ahmed,
first go to transaction sm36.
enter job name : Zsdf10
click on enter.
you see this screen.
eneter abap program button.
enter program name and varient name
clcik on save button
come back
click on start condition.
click on date/time button
enter date and time
after that go back main screen click on save button.
go to sm37 transaction.
click on execute button.
you see the your job name.