04-27-2011 1:10 PM
I am calling a standard Report which popups list of sessions.
Out of which, i select one session and the data belonging to that session is deleted from data base.
I need to perform the above task using a single report which consists of JOB_OPEN, JOB_SUBMIT and JOB_CLOSE function modules.
I mean i know the session number which i have to select. Where should i pass it and in which FM so that no popup should come and the data is automatically deleted as soon as the report is executed.
Can anyone tell me how to do this??
04-27-2011 1:42 PM
Hi Suruchi Razdan,
i select one session and the data belonging to that session is deleted from data base
Interesting. How do you or does the session know what data belongs to it and how to delete them fcrom the database?
You may use an internet search engine to finmd the answer or explain what you really want to do.
Regards,
Clemens
04-27-2011 1:50 PM
I have clearly mentioned that I am executing a standard report which generates list of sessions.
SO deleting data from Database tables is the functionality of the report.
We dont need to worry about that.
I just need to perform that same functionality using JOB_OPEN, JOB_SUBMIT and JOB_CLOSE
i.e. is i write submit (reort)
via job number and return.
Where should i pass session number???
My only purpose is no break or halt should be there or i shouldnt select sessions while executing report.
I just pass session names at the beginning and the report is executed successfully.
04-27-2011 2:09 PM
Hi,
I do not dare to ask for the name of the standard program.
Regards,
Clemens
04-28-2011 5:06 AM
04-28-2011 11:36 AM
Hi Suruchi,
Report RM06ED47 is used to delete purchase-related data that have been archived.
No Popup for any kind of sessions is provided by standard coding. There is a BAdI and a couple of enhancement spots. May be in your system this is used to provide the mysterious session popup.
But this is not standard SAP.
You may assign a transaction to the report and record the batch-input-session. Then use a CALL transaction using ...
But anyway you will have to identify the code for the session popup and determine the session position before starting it.
Regards,
Clemens
04-28-2011 11:55 AM
Thanks ...
But my problem has been resolved. I did by my own.
Well the program does creates sessions
04-28-2011 12:04 PM
Hi Suruchi,
the community expresses grateful thanks for sharing the innovative solution.
Regards,
Clemens