08-06-2017 5:29 PM
I want SAP to run a program when I am creating PO.
I would like to retrieve data from PO tables (e.g. EKKO) to use it in the program, but as the PO is not yet created, the data is not entered into a database yet.
Is there a temporal table which used for containing data temporally prior to entering the data into the database later?
If yes, how can I access to the temporal table to take (retrieve) the data to use it?
08-07-2017 8:56 AM
Hi Jackson, your request is pretty unclear.
What should the program to do?
Instead of a program, why do not use the standard BAdI?
You should share more details or it will be impossible to help you
08-10-2017 3:40 PM
Thanks for your comment.
I am developing an output program which will be executed before PO creation. I don't mind the program runs right after PO created but i do not know whether SAP has this feature aside from using a job.
As PO is not created, the data i want to use for my program is not available in database.
For example, when i checked table EKKO for my program, i couldn't find PO number in the database as PO was not yet created.
But i guess the data is available in "somewhere" as they (the data) will be entered into the database.
I am looking for that "somewhere" to get the data for my program.
08-10-2017 3:55 PM
And why don't you rely on standard output messages and controls?
You should search via google and you can find plently of wikis and examples like this one
08-10-2017 4:10 PM
Thanks for your Answer.
But i am not looking for standard output messages and controls.
I just want to talk about the availability of the data in "somewhere".
It is my current concern for my program for special usage.
08-10-2017 4:13 PM
Special usage?
You said it was an output program....
I am developing an output program
Anyway in BAdIs you have all the data available and you can "play" with them.
08-10-2017 5:02 PM
Output program but i am adding something for "Special usage".
and i am looking for the data location to access.
08-10-2017 8:24 PM
If you do not want or can share any meaningful info, i'm sorry, i doubt you can find any help.
Even more, i already gave you the info you need: there is no "temporary table", there is the memory areas accessible implementing the right BAdI
08-11-2017 9:51 AM
you mentioned that "there is no "temporary table"", and that can be the answer i was looking for even though that is not a good news for me as i need to try other way.
08-11-2017 9:53 AM
08-11-2017 9:58 AM